package com.common.dao.impl;

import javax.annotation.Resource;

import com.common.dao.hibernate.IBaseHibernateDao;
import com.common.dao.jdbc.IBaseJdbcDao;

public abstract class DaoUtils {

	@Resource
	protected IBaseJdbcDao baseJdbcDao = null;

	public IBaseJdbcDao getBaseDao() {
		return baseJdbcDao;
	}

	public void setBaseDao(IBaseJdbcDao baseDao) {
		this.baseJdbcDao = baseDao;
	}

	// @Autowired
	protected IBaseHibernateDao baseHibernateDao = null;

	public IBaseHibernateDao getBaseHibernateDao() {
		return baseHibernateDao;
	}

	public void setBaseHibernateDao(IBaseHibernateDao baseHibernateDao) {
		this.baseHibernateDao = baseHibernateDao;
	}

}
